<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .dorp{width:100px;
      height:30px;
      border:1px solid black;
      float:left;}
   .dorp p{text-align:center;
     font-size:20px;
     color:black;
     line-height:30px;
     margin:auto;}
   .dorp-con{width:100px;
       height:60px;
       border:1px solid black;
       display:none;  
       margin-left:-1px;}
   .dorp:hover .dorp-con{display:block;}
   .dorp-con ul{margin:0 0;}
   .dorp-con li{font-size:12px;
       width:100px;
       height:15px;
       line-height:15px;
       margin-left:-30px;
       }
   li{list-style:none;}

    </style>
</head>
<p>我的信息</p>
<div class="dorp-con">
    <ul>
     <li href="#">姓名</li>
     <li href="#">学号</li>
     <li href="#">性别</li>
     <li href="#">年级</li>
    </ul>
   </div>
  </div>

<body>
    
</body>
</html>